home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource5
/
357_01
/
cstar1.exe
/
ARRAY.TST
< prev
next >
Wrap
Text File
|
1991-11-15
|
301b
|
12 lines
main()
{
int *p;
int z[];
int x[3] [];
printf(sizeof(z)); /* this turns out to be 2 !!! */
printf(sizeof(x)); /* this turns out to be 6 */
z = p; /* it says nonassignable operand */
z[4] = 3; /* it willingly does this */
x++; /* no code table for p++ (sic) */
}